#include "def.h"

char map[15][15] = {
	"************",
	"*XXXXH     *",
	"*          *",
	"*          *",
	"*          *",
	"*    BB    *",
	"*          *",
	"*          *",
	"*   B      *",
	"*   B   B  *",
	"*          *",
	"************",
};

vector<Snake_cell> snake;

void init() {
	snake.push_back(Snake_cell(1, 5));
	snake.push_back(Snake_cell(1, 4));
	snake.push_back(Snake_cell(1, 3));
	snake.push_back(Snake_cell(1, 2));
	snake.push_back(Snake_cell(1, 1));

}

void output_map() {

	system("clear");
	printf("\x1b[H\x1b[2J");
	for (int i = 0; i < MAXX; i++) {
		//printf("i = %d\n", i);
		printf("%s\n", map[i]);
	}

	puts("");
	return;
}

